# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=xdg-user-dirs-gtk
pkgver=0.11
pkgrel=2
pkgdesc="GTK frontend for xdg-user-dirs"
url="https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk"
arch="all"
license="GPL-2.0-or-later"
depends="xdg-user-dirs"
makedepends="gtk+3.0-dev intltool"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/xdg-user-dirs-gtk/$pkgver/xdg-user-dirs-gtk-$pkgver.tar.xz
	more-desktops.patch
	"
options="!check" # no tests

build() {
	./configure \
		--prefix=/usr \
		--host=$CHOST \
		--build=$CBUILD \
		--sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
2a650c6372126f807ac90fb0508e1b11636b38b5960a3037b547e9f1bb1a6b82653f20da7d5aae1144eebec040e3af89a02fbf70c1768724019b384f6d9cf85a  xdg-user-dirs-gtk-0.11.tar.xz
276f8be2a09550238acf81cbbb037e89c49469d4d854fb5a26d394335698379d180a3ced48f71c12cf87efecff1f6ce057579b63456f8a2334652d77e1a8eb8c  more-desktops.patch
"
